package com.lz.jisuan;

public class Oushu {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int sum = 0;
		for (int i = 0; i < 101; i++) {
			if (i % 2 == 0) {
				System.out.print(i + "\t");
				sum += i;
			}
		}
		System.out.println();
		System.out.println(sum);
	}

}
